package com.mmd.common.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * table --> mmd_quotation
 * remarks --> base报价单
 * columns --> quotationNo,level,routeNo,routeName,channelNo,channelName,areaId,areaName,isem,singleOperatFee,singleDeclareFee,zgFee,remark,createTime,updateTime
 */
@ApiModel(value = "mmd_quotation_history",description = "base历史报价单")
public class MmdQuotationHistory implements Serializable {
    /**
     * historyId
     * 历史报价单ID
     */
    @ApiModelProperty(value="historyId",name="历史报价单ID")
    private Long historyId;

    /**
     * quotationNo
     * 报价单编码
     */
    @ApiModelProperty(value="quotationNo",name="报价单编码")
    private String quotationNo;

    /**
     * level
     * 报价单级别A,B,C,D
     */
    @ApiModelProperty(value="level",name="报价单级别A,B,C,D")
    private String level;

    /**
     * routeNo
     * 渠道路线编码
     */
    @ApiModelProperty(value="routeNo",name="渠道路线编码")
    private String routeNo;

    /**
     * routeName
     * 渠道路线名称
     */
    @ApiModelProperty(value="routeName",name="渠道路线名称")
    private String routeName;

    /**
     * channelNo
     * 渠道编码(和上面的渠道路线编码不是一个意思)
     */
    @ApiModelProperty(value="channelNo",name="渠道编码(和上面的渠道路线编码不是一个意思)")
    private String channelNo;

    /**
     * channelName
     * 渠道名称
     */
    @ApiModelProperty(value="channelName",name="渠道名称")
    private String channelName;

    /**
     * areaId
     * 区域编码
     */
    @ApiModelProperty(value="areaId",name="区域编码")
    private Long areaId;

    /**
     * areaName
     * 区域名称
     */
    @ApiModelProperty(value="areaName",name="区域名称")
    private String areaName;

    /**
     * isem
     * 是否电磁(Y：香港/韩国飞  N：大陆飞)
     */
    @ApiModelProperty(value="isem",name="是否电磁(Y：香港/韩国飞  N：大陆飞)")
    private String isem;

    /**
     * singleOperatFee
     * 单票操作费
     */
    @ApiModelProperty(value="singleOperatFee",name="单票操作费")
    private BigDecimal singleOperatFee;

    /**
     * singleDeclareFee
     * 单票报关费
     */
    @ApiModelProperty(value="singleDeclareFee",name="单票报关费")
    private BigDecimal singleDeclareFee;

    /**
     * zgFee
     * 中港
     */
    @ApiModelProperty(value="zgFee",name="中港")
    private BigDecimal zgFee;

    /**
     * remark
     * 备注
     */
    @ApiModelProperty(value="remark",name="备注")
    private String remark;

    /**
     * createTime
     * 
     */
    @ApiModelProperty(value="createTime",name="")
    private Date createTime;

    /**
     * updateTime
     * 
     */
    @ApiModelProperty(value="updateTime",name="")
    private Date updateTime;

    /**
     * createTime
     *
     */
    @ApiModelProperty(value="validStartTime",name="")
    private Date validStartTime;

    /**
     * updateTime
     *
     */
    @ApiModelProperty(value="validEndTime",name="")
    private Date validEndTime;

    private static final long serialVersionUID = 1L;

    public Long getHistoryId() {
        return historyId;
    }

    public void setHistoryId(Long historyId) {
        this.historyId = historyId;
    }

    public String getQuotationNo() {
        return quotationNo;
    }

    public void setQuotationNo(String quotationNo) {
        this.quotationNo = quotationNo == null ? null : quotationNo.trim();
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level == null ? null : level.trim();
    }

    public String getRouteNo() {
        return routeNo;
    }

    public void setRouteNo(String routeNo) {
        this.routeNo = routeNo == null ? null : routeNo.trim();
    }

    public String getRouteName() {
        return routeName;
    }

    public void setRouteName(String routeName) {
        this.routeName = routeName == null ? null : routeName.trim();
    }

    public String getChannelNo() {
        return channelNo;
    }

    public void setChannelNo(String channelNo) {
        this.channelNo = channelNo == null ? null : channelNo.trim();
    }

    public String getChannelName() {
        return channelName;
    }

    public void setChannelName(String channelName) {
        this.channelName = channelName == null ? null : channelName.trim();
    }

    public Long getAreaId() {
        return areaId;
    }

    public void setAreaId(Long areaId) {
        this.areaId = areaId;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName == null ? null : areaName.trim();
    }

    public String getIsem() {
        return isem;
    }

    public void setIsem(String isem) {
        this.isem = isem == null ? null : isem.trim();
    }

    public BigDecimal getSingleOperatFee() {
        return singleOperatFee;
    }

    public void setSingleOperatFee(BigDecimal singleOperatFee) {
        this.singleOperatFee = singleOperatFee;
    }

    public BigDecimal getSingleDeclareFee() {
        return singleDeclareFee;
    }

    public void setSingleDeclareFee(BigDecimal singleDeclareFee) {
        this.singleDeclareFee = singleDeclareFee;
    }

    public BigDecimal getZgFee() {
        return zgFee;
    }

    public void setZgFee(BigDecimal zgFee) {
        this.zgFee = zgFee;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getValidStartTime(){
        return validStartTime;
    }

    public void setValidStartTime(Date validStartTime){
        this.validStartTime = validStartTime;
    }

    public Date getValidEndTime(){
        return validEndTime;
    }

    public void setValidEndTime(Date validEndTime){
        this.validEndTime = validEndTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append(", quotationNo=").append(quotationNo);
        sb.append(", level=").append(level);
        sb.append(", routeNo=").append(routeNo);
        sb.append(", routeName=").append(routeName);
        sb.append(", channelNo=").append(channelNo);
        sb.append(", channelName=").append(channelName);
        sb.append(", areaId=").append(areaId);
        sb.append(", areaName=").append(areaName);
        sb.append(", isem=").append(isem);
        sb.append(", singleOperatFee=").append(singleOperatFee);
        sb.append(", singleDeclareFee=").append(singleDeclareFee);
        sb.append(", zgFee=").append(zgFee);
        sb.append(", remark=").append(remark);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}